home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / os2 / oscan105.zip / OSCN105.DOC < prev    next >
Text File  |  1993-06-15  |  44KB  |  1,166 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                       OS2SCAN FOR OS/2 Version 9.16V105
  19.                 Copyright (C) 1989 - 1993 by McAfee Associates
  20.                              All rights reserved.
  21.  
  22.                        Documentation by Aryeh Goretsky.
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.           McAfee Associates                (408) 988-3832 office
  49.           3350 Scott Blvd, Bldg. 14        (408) 970-9727 fax
  50.           Santa Clara, CA  95054           (408) 988-4004 BBS (25 lines)
  51.           U.S.A.                           USR HST/v.32/v.42bis/MNP1-5
  52.                                            CompuServe        GO MCAFEE
  53.                                            InterNet support@mcafee.COM
  54.  
  55.  
  56.  
  57.  
  58.                               TABLE OF CONTENTS:
  59.  
  60.  
  61.           WHAT'S NEW . . . . . . . . . . . . . . . . . . . . . . . . . .2
  62.             - New features added in this release
  63.             - System Requirements
  64.  
  65.           OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . .3
  66.             - Detection of known viruses
  67.             - Detection of new and unknown viruses
  68.  
  69.           AUTHENTICITY . . . . . . . . . . . . . . . . . . . . . . . . .5
  70.             - How to verify the OS2SCAN.EXE program file
  71.  
  72.           COMMAND SUMMARY. . . . . . . . . . . . . . . . . . . . . . . .6
  73.             - One-line description of switches
  74.  
  75.           OPTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . .8
  76.             - Detailed explanation of switches
  77.  
  78.           EXIT CODES . . . . . . . . . . . . . . . . . . . . . . . . . .13
  79.             - ERRORLEVEL's returned by OS2SCAN for REXX scripts
  80.  
  81.           EXAMPLES . . . . . . . . . . . . . . . . . . . . . . . . . . .14
  82.             - Samples of frequently-used options
  83.  
  84.           VIRUS REMOVAL. . . . . . . . . . . . . . . . . . . . . . . . .15
  85.             - How to manually remove a virus
  86.  
  87.           REGISTRATION . . . . . . . . . . . . . . . . . . . . . . . . .16
  88.             - How to register OS2SCAN
  89.  
  90.           TECHNICAL SUPPORT INFORMATION  . . . . . . . . . . . . . . . .17
  91.            - Information you should have ready when calling
  92.  
  93.           OBTAINING THE LATEST VERSION OF OS2SCAN. . . . . . . . . . . .18
  94.            - BBS, CompuServe, and Internet access to OS2SCAN
  95.  
  96.           APPENDIX A . . . . . . . . . . . . . . . . . . . . . . . . . .19
  97.            - Creating a virus string file with the /EXT option
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.                                     Page 1
  109.  
  110. OS2SCAN FOR OS/2 Version 9.16V105                         Page 2
  111.  
  112.  
  113.           WHAT'S NEW
  114.  
  115.                Version 9.16V105 of OS2SCAN adds detection of 100 viruses,
  116.           bringing the total number of known viruses to 1,453, or
  117.           counting variants, 2,149 viruses.
  118.  
  119.  
  120.           Like it's DOS-based counterpart, VIRUSCAN (for DOS), OS2SCAN
  121.           searches PC's for computer viruses in memory, the master boot
  122.           record (partition table), boot sector, and files.  However,
  123.           OS2SCAN contains several important differences:
  124.  
  125.           ·     Since OS/2 operates in a protected mode environment it can
  126.                 only check its own area of memory or "memory image" for
  127.                 viruses.  Viruses in a DOS session or VDM will not be
  128.                 detected in memory by OS2SCAN.  To protect against viruses
  129.                 in a DOS session or VDM, use the VSHIELD (for DOS) virus
  130.                 prevention TSR.
  131.  
  132.           ·     OS2SCAN does not have the /CHKHI, /M, /MAINT, /NOMEM,
  133.                 or /UNATTEND switches that VIRUSCAN does.
  134.  
  135.           ·     The /SAVE switch does not modify the OS2SCAN.EXE file.
  136.                 Instead, it creates an OS2SCAN.INI file.
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165. OS2SCAN FOR OS/2 Version 9.16V105                         Page 3
  166.  
  167.  
  168.           SYSTEM REQUIREMENTS
  169.  
  170.                OS2SCAN requires IBM OS/2 Version 2.00(GA) or above.  Use
  171.           the SYSLEVEL command to determine what version of OS/2 you are
  172.           running.
  173.  
  174.                OS2SCAN is designed to check PC's and file servers for
  175.           viruses and is compatible with all network operating systems
  176.           including 3Com, Artisoft LanTastic, AT&T StarLAN, DEC Pathworks
  177.           IBM LAN Server, Microsoft LAN Manager, and Novell NetWare.
  178.           Contact McAfee Associates if you do not see your NOS listed.
  179.           If you have a Novell NetWare/386 server, you may wish to use
  180.           the NETSHIELD NetWare Loadable Module for virus prevention in
  181.           conjunction with OS2SCAN.
  182.  
  183.           NOTE:  WRITE-PROTECT THE FLOPPY DISK CONTAINING THE OS2SCAN FOR
  184.                  OS/2 (OS2SCAN.EXE) PROGRAM BEFORE SCANNING TO PREVENT IT
  185.                  FROM BECOMING INFECTED BY A COMPUTER VIRUS.
  186.  
  187.  
  188.           OVERVIEW (Known Virus Detection)
  189.  
  190.                OS2SCAN FOR OS/2 Version 9.16V105 (filename OS2SCAN.EXE)
  191.           identifies all 1,353 known computer viruses and their variants.
  192.           Some viruses have been modified so that more than one "strain"
  193.           exists.  Counting such modifications, 2,049 viruses exist.
  194.  
  195.                All known viruses infect one or more of the following
  196.           areas: the hard disk partition table (alias Master Boot Record);
  197.           the Boot Sector of disks; or one or more executable files on
  198.           the system.  Executable files include operating system files,
  199.           .COM files, .EXE files, overlay files, or any other files
  200.           containing program code.  A virus that infects more than one
  201.           area, such as a boot sector and an executable file is called
  202.           a multipartite virus.
  203.  
  204.                OS2SCAN checks files, subdirectories, diskettes or entire
  205.           systems for pre-existing computer virus infections.  It will
  206.           identify the virus infecting the system and the area where it
  207.           was found, giving the name of the virus as well as the I.D.
  208.           code used with CLEAN-UP to remove it.
  209.  
  210.                Infected files can be removed using the /D switch in OS2SCAN
  211.           to erase the file, or with the CLEAN-UP universal virus removal
  212.           (disinfection) program.  CLEAN-UP is recommended because in most
  213.           cases it will eliminate the virus and fully restore infected
  214.           programs or system areas to normal operation.  CLEAN-UP is
  215.           available in both DOS and OS/2 versions.
  216.  
  217.                The accompanying VIRLIST.TXT file lists describes all
  218.           viruses identified by OS2SCAN and their associated I.D. codes
  219.           for removal by CLEAN-UP.
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230. OS2SCAN FOR OS/2 Version 9.16V105                         Page 4
  231.  
  232.  
  233.           OVERVIEW (Unknown Virus Detection)
  234.  
  235.               OS2SCAN checks for new or unknown viruses by comparing
  236.           files against previously-recorded validation (checksum) data.
  237.           OS2SCAN has two levels of validation which are stored in three
  238.           separate ways:
  239.  
  240.           ·     A simple 10-byte long validation checksum may be appended
  241.                 to .COM and .EXE files.  If a file has been modified, it
  242.                 no longer matches the checksum and OS2SCAN reports the
  243.                 file may be infected.  (/AV, /CV, /RV switches)
  244.  
  245.           ·     An enhanced 52-byte validation and recovery data checksum
  246.                 can also be created.  This can be appended to the end of
  247.                 files like the 10-byte checksum, or stored in a separate
  248.                 log file which can be offline (e.g., on floppies) for
  249.                 recovery purposes.  CLEAN-UP can restore infected files,
  250.                 partition tables, or boot sectors using this information.
  251.                 (/AG, /CG, /RG switches and /AF, /CF, /RF switches)
  252.  
  253.           NOTE:  OS2SCAN does NOT add codes to the partition table, boot
  254.                  sector, or system files.  Instead, a separate hidden file
  255.                  will be created in the root directory named SCANVAL.VAL
  256.                  containing data for these areas.
  257.  
  258.           NOTE:  Files which are self-checking (e.g., Lotus 1-2-3) should
  259.                  not be validated with the /AV (Add Validation) or /AG
  260.                  (Add Generic) switches which modify files.  Instead, use
  261.                  the /AF (Add File) switch.
  262.  
  263.                OS2SCAN also checks for new or unknown viruses by searching
  264.           for Generic or Family virus strings.  These are strings that
  265.           have been found repeatedly in different viruses.  Since virus
  266.           writers may use the older pieces of code for new viruses, this
  267.           allows OS2SCAN to detect viruses which have not been written yet.
  268.  
  269.                OS2SCAN can be updated to search for new viruses by an
  270.           External Virus Data File, which allows the user to input new
  271.           search strings for viruses. (/EXT switch)
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285. OS2SCAN FOR OS/2 Version 9.16V105                         Page 5
  286.  
  287.  
  288.           AUTHENTICITY
  289.  
  290.                Before using OS2SCAN for the first time, verify that it has
  291.           not been tampered with or infected by a virus by using the
  292.           enclosed VALIDATE for OS/2 (OS2VAL.EXE) program.  For
  293.           instructions on using OS2VAL, please read the OS2VAL.DOC file.
  294.  
  295.                The validation results for Version 9.16V105 should be:
  296.  
  297.                         FILE NAME: OS2SCAN.EXE
  298.                              SIZE: 219,648
  299.                              DATE: 06-15-1993
  300.               FILE AUTHENTICATION
  301.                    Check Method 1: 1281
  302.                    Check Method 2: 01BD
  303.  
  304.           NOTE:  If you run VALIDATE.COM for DOS against OS2SCAN.EXE, a
  305.                  different Check Method 1 value will be returned.  Do not
  306.                  use VALIDATE.COM to validate OS2SCAN.EXE
  307.  
  308.           If your copy of OS2SCAN differs, it may have been damaged.
  309.           Always obtain your copy of OS2SCAN from a known source.  The
  310.           latest version of OS2SCAN and validation data for OS2SCAN.EXE
  311.           can be obtained from McAfee Associates' bulletin board system
  312.           at (408) 988-4004 or from the McAfee Virus Help Forum on
  313.           CompuServe (GO MCAFEE), or the mcafee.COM anonymous ftp site
  314.           on the Internet.
  315.  
  316.                OS2SCAN performs a self-check when run.  If OS2SCAN has
  317.           been modified in any way, a warning will be displayed and the
  318.           user will be prompted to either continue or quit.  OS2SCAN can
  319.           still check for viruses.  However, if OS2SCAN reports that it
  320.           has been damaged, it is recommended that a new copy be obtained.
  321.  
  322.                All of McAfee Associates' programs are archived with
  323.           Version 1.10 of PKWare's PKZIP Authentic File Verification.
  324.           When unzipped with Version 1.10 of PKWare's PKUNZIP program,
  325.           an "-AV" will be displayed after each file is unzipped and an
  326.           "Authentic Files Verified! # NWN405  Zip Source: McAFEE
  327.           ASSOCIATES" will appear once all files are unzipped.
  328.  
  329.           NOTE:  If you do not receive the Authentic File Verification
  330.                  messages, you may be using a different version of
  331.                  PKUNZIP, such as V1.93α or V2.04.  Use PKUNZIP Version
  332.                  1.10 to unzip files if you wish to have Authenticity
  333.                  Verification displayed as files are unzipped.
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340. OS2SCAN FOR OS/2 Version 9.16V105                         Page 6
  341.  
  342.  
  343.           COMMAND SUMMARY
  344.  
  345.           IMPORTANT NOTE:  WRITE PROTECT YOUR FLOPPY DISK BEFORE SCANNING
  346.                            TO PREVENT INFECTION OF THE OS2SCAN PROGRAM.
  347.  
  348.                OS2SCAN checks files and other areas of the system that
  349.           can contain a computer virus.  When a virus is found, OS2SCAN
  350.           identifies the virus and the file or system area where it was
  351.           found.
  352.                OS2SCAN examines files based on their extension.  The default
  353.           extensions supported by OS2SCAN are .APP, .BIN, .COM, .EXE,
  354.           .OV?, .PGM, .PIF, .PRG, .SWP, .SYS, and .XTP.  Additional
  355.           extensions can be added with the /E option, or use the /A to
  356.           check all files.
  357.  
  358.  
  359.           Valid options for OS2SCAN are:
  360.  
  361.                            OS2SCAN {drive(s)} {options}
  362.  
  363.           {drive(s)}       - Indicates a drive or drives to be scanned
  364.  
  365.           Options are:
  366.  
  367.           \                - Scan root directory and boot area only
  368.           /? /H or /HELP   - Displays help screen
  369.           /A               - Scan all files, including data, for viruses
  370.           /AD              - Scan all local drives for viruses
  371.           /AF {filename}   - Store recovery & validation data to {filename}
  372.           /AG {filename}   - Add recovery & validation data to files
  373.                               EXCEPT for those listed in {filename}
  374.           /AV {filename}   - Add validation codes to files EXCEPT for
  375.                               those listed in {filename}
  376.           /BELL            - Beep whenever a virus is found
  377.           /BMP             - Scan OS/2 Boot Manager Partition ONLY
  378.           /CERTIFY         - List files that do not have a validation code
  379.           /CF {filename}   - Check for viruses using recovery & validation
  380.                               data stored in {filename}
  381.           /CG              - Check recovery & validation data on files
  382.           /CV              - Check validation codes on files
  383.           /D               - Overwrite and delete infected files
  384.           /DATE            - Save the date and time OS2SCAN was last run
  385.                               (use /SHOWDATE to display)
  386.           /E .xxx .yyy     - Scan overlay extensions .XXX and .YYY
  387.           /EXT {filename}  - Scan using external virus data from {filename}
  388.           /FAST            - Speed up OS2SCAN's output
  389.                               (see below for specifics)
  390.           /HISTORY {fname} - Create infection log {fname} appending to old log
  391.  
  392.  
  393.  
  394.  
  395. OS2SCAN FOR OS/2 Version 9.16V105                         Page 7
  396.  
  397.  
  398.           /MANY            - Scan multiple disks
  399.           /NLZ             - Skip internal scan of LZEXE-compressed files
  400.                               (DOS executables only)
  401.           /NOBREAK         - Disable Ctrl-C and Ctrl-Brk during scanning
  402.           /NOEXPIRE        - Do not display expiration notice
  403.           /NOPAUSE         - Disable screen pause when scanning
  404.           /NPKL            - Skip internal scan of PKLITE-compressed files
  405.                               (DOS executables only)
  406.           /REPORT {fname}  - Create infection log {fname} deleting the old log
  407.           /RF filename     - Remove recovery & validation data stored
  408.           /RG              - Remove recovery & validation data from files
  409.           /RV              - Remove validation codes from specified files
  410.           /SAVE            - Save specified options as new default options
  411.           /SHOWDATE        - Display the date and time OS2SCAN was last run
  412.                               (use /DATE to save date and time)
  413.           /SUB             - Scan all subdirectories inside a subdirectory
  414.           @{filename}      - Scan using options from {filename}
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.           *Denotes new option added in this release
  446.  
  447.  
  448.  
  449.  
  450. OS2SCAN FOR OS/2 Version 9.16V105                         Page 8
  451.  
  452.  
  453.           OPTIONS
  454.  
  455.                Following is a detailed description of OS2SCAN's options.
  456.           Please note the /AF and /AG switches modify executable files.
  457.           This may cause other anti-viral programs to generate a warning.
  458.  
  459.           /A - This option checks all files on the drive scanned and also
  460.           examines a greater portion of files.  This substantially
  461.           increases the time required to scan disks and also increases
  462.           OS2SCAN's ability to detect viruses in overlay files.  It is
  463.           recommended this switch only be used when installing software
  464.           or if a file-infecting virus has been found.  This option takes
  465.           priority over the /E option.
  466.  
  467.           /AD - This option scans all local hard disk drives for viruses.
  468.           No drives need to be listed when the /AD switch is used.
  469.  
  470.           NOTE:  If network drives exist, OS2SCAN will attempt to access
  471.                  them when run with the /AD switch and fail.
  472.  
  473.           /AF {filename} - This option logs recovery and validation
  474.           data for .COM and .EXE files, boot sector, and partition table
  475.           of a disk to a user-specified file.  The log file size is about
  476.           20Kb per 1,000 files validated.  Recovery from a virus using the
  477.           /AF information requires the CLEAN-UP program.
  478.  
  479.           /AG {filename} - This option allows the user to store recovery
  480.           and validation data for .COM and .EXE files, boot sector, and
  481.           partition table of a disk.  Recovery information adds 52 bytes
  482.           to files.  The recovery information for the partition table,
  483.           boot sector, COMMAND.COM and system files is stored separately
  484.           in a hidden file called SCANVAL.VAL in the root directory of the
  485.           drive being scanned.  {filename} is an optional ASCII text file
  486.           listing files NOT to add recovery and validation data to (see
  487.           NOTE below).  Recovery from a virus using the /AG information
  488.           requires the CLEAN-UP (CLEAN.EXE) program.
  489.  
  490.           /AV {filename} - This option allows the user to store validation
  491.           codes for .COM and .EXE files, boot sector, and partition table
  492.           of a disk.  Validation information adds 10 bytes to files.  The
  493.           validation codes for the partition table, boot sector, system
  494.           files and COMMAND.COM is stored separately in a hidden file
  495.           named SCANVAL.VAL in the root directory of the drive being
  496.           scanned.  {filename} is an optional ASCII text file listing the
  497.           files NOT to add validation codes to (see note below).
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505. OS2SCAN FOR OS/2 Version 9.16V105                         Page 9
  506.  
  507.  
  508.           NOTE:  Files which are immunized against viruses or contain
  509.                  self-modifying code should not have validation codes
  510.                  added to them.  To prevent OS2SCAN from adding validation
  511.                  codes to these files, a validation exception list must be
  512.                  created with the path and filename of each file NOT to be
  513.                  validated listed on each line (only one filename for each
  514.                  line).  To put a comment in, start the line with an "*"
  515.                  character.  This sample file contains a list of programs
  516.                  NOT to validate:
  517.  
  518.           *LIST OF FILES NOT TO USE /AV OR /AG OPTIONS WITH
  519.           *
  520.           *This is Nantucket Corp's database program, Clipper
  521.           D:\CLIPPER\BIN\CLIPPER.EXE
  522.           *This is Lotus Development Corp's spreadsheet program, 1-2-3
  523.           D:\123\123.COM
  524.           *This is MS-DOS 5.00's self-modifying program, SETVER
  525.           D:\DOS\SETVER.EXE
  526.           *PKWare's data compression programs already perform a self-check
  527.           D:\PKWARE\PKLITE.EXE
  528.           D:\PKWARE\PKZIP.EXE
  529.           D:\PKWARE\PKUNZIP.EXE
  530.           *Stac Technologies hard disk swapping program
  531.           D:\SWAPVOL.COM
  532.           *Symantec's Norton Utilities V6.01 disk caching program
  533.           D:\NORTON\NCACHE.EXE
  534.           *WordStar Corp's word processor is self-modifying
  535.           D:\WORDSTAR\WS.EXE
  536.  
  537.                The validation exception list should be an ASCII or DOS
  538.           text file.  If a word processor is used to create the list, be
  539.           sure to save the file as ASCII or DOS Text.
  540.  
  541.           /BELL - This option tells OS2SCAN to beep when a virus is found.
  542.  
  543.           /BMP - This option tells OS2SCAN to check the OS/2 Boot Manager
  544.           partition.  When run with this option, OS2SCAN will check the
  545.           Boot Manager partition and boot sector.
  546.  
  547.           /CERTIFY -  This option will audit a system for files that have
  548.           validation codes added to them with the /AG or /AV switches.
  549.           Files that have no validation code will be reported as being
  550.           uncertified by OS2SCAN.
  551.  
  552.           /CF {filename} - This option checks recovery and validation data
  553.           stored by the /AF option in {filename}.  If a file or system
  554.           area has changed, OS2SCAN reports that a viral infection may
  555.           have occurred.  Using the /CG option adds about 25% more time to
  556.           scanning.
  557.  
  558.  
  559.  
  560. OS2SCAN FOR OS/2 Version 9.16V105                         Page 10
  561.  
  562.  
  563.           /CG - This options checks recovery and validation data added by
  564.           the /AG option.  If a file or system area has changed, OS2SCAN
  565.           reports that a viral infection may have occurred.  Using the /CG
  566.           option adds about 25% more time to scanning.  This option takes
  567.           priority over the /CV option.
  568.  
  569.           /CV - This option checks validation codes inserted by the /AV
  570.           option.  If a file or system area has been changed, OS2SCAN will
  571.           report that the file or system area has been modified and a
  572.           viral infection may have occurred.  Using the /CV option adds
  573.           about 20% more time to scanning.
  574.  
  575.           NOTE:  Dual Boot systems change the Boot Sector between DOS and
  576.                  OS/2 depending on which operating system is currently
  577.                  active.  This will cause OS2SCAN to report that the boot
  578.                  sector has been modified.
  579.  
  580.           /D - This option tells OS2SCAN to prompt the user to overwrite
  581.           and delete an infected files.  Files erased by the /D option
  582.           can not be recovered.  If the CLEAN-UP program is available,
  583.           it can be used to disinfect the file.  Partition table and boot
  584.           sector viruses can not be removed by the /D option and require
  585.           the CLEAN-UP virus removal program.
  586.  
  587.           /DATE - This option stores the time and date OS2SCAN was last
  588.           executed.  This is done by changing the date on the SCANVAL.VAL
  589.           file.  If no SCANVAL.VAL file exists, OS2SCAN will create a 0-byte
  590.           long file in the currently-logged directory.
  591.  
  592.           /E .xxx .yyy - This option allows an additional extension or set
  593.           extensions to be scanned.  Extensions should include a period "."
  594.           character and be separated by a space after the /E.  Up to three
  595.           extensions may be added with the /E.  For more extensions, use
  596.           the /A option instead.
  597.  
  598.           /EXT {filename} - This option tells OS2SCAN to search for viruses
  599.           using virus search strings from ASCII text file {filename}, in
  600.           addition to the viruses that OS2SCAN looks for.  For instructions
  601.           creating an external virus data file, refer to Appendix A.
  602.  
  603.           NOTE:  The /EXT option provides users with the ability to add
  604.                  strings for detection of viruses on an interim or
  605.                  emergency basis.  When used with the /D option, it will
  606.                  overwrite-and-delete infected files.  This option is not
  607.                  for general use and should be used with caution.
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615. OS2SCAN FOR OS/2 Version 9.16V105                         Page 11
  616.  
  617.  
  618.           /FAST - This option speeds OS2SCAN up by displaying less on the
  619.           the screen, skipping checking inside of LZEXE- and PKLITE-
  620.           compressed files (DOS only), and examining a smaller portion of
  621.           files during scanning.  This may reduce the accuracy of OS2SCAN.
  622.  
  623.           /HISTORY {filename} - This option saves the output of OS2SCAN
  624.           to {filename} in ASCII text file format.  If {filename} exists,
  625.           OS2SCAN will add the results of the current scan to the end.
  626.  
  627.           /MANY - This option is used to scan multiple diskettes placed
  628.           in a given drive.  If the user has more than one floppy disk to
  629.           check for viruses, the /MANY option will allows the user to
  630.           check disks without having to re-run OS2SCAN multiple times. 
  631.  
  632.           /NLZ - This option tells OS2SCAN not to look inside files
  633.           compressed with LZEXE, a file compression program for DOS
  634.           .EXE files.  OS2SCAN will still check LZEXE-compressed files for
  635.           viruses that may have become infected after LZEXE compression.
  636.  
  637.           /NOBREAK - This option prevents Ctrl-C or Ctrl-Brk from aborting
  638.           the scanning process.
  639.  
  640.           /NOEXPIRE - This option prevents OS2SCAN from displaying a
  641.           warning message after 7 months warning that it may no longer be
  642.           current with respect to known computer viruses.
  643.  
  644.           /NOPAUSE - This option disables the "More? (H = Help )" prompt
  645.           displayed when OS2SCAN fills up a screen with 24 lines of text.
  646.           This allows OS2SCAN to run on PC's with severe infections without
  647.           requiring operator assistance.
  648.  
  649.           /NPKL - This option tells OS2SCAN not to look inside files
  650.           compressed with PKLITE, a file compression program for DOS .EXE
  651.           files.  OS2SCAN will still check PKLITE-compressed files for
  652.           viruses that may have become infected after PKLITE compression.
  653.  
  654.           /REPORT {filename} - This option saves the output of OS2SCAN
  655.           to {filename} in ASCII text file format.  If {filename} exists,
  656.           OS2SCAN will erase it and replace with the current scan results.
  657.  
  658.           /RF {filename} - This option removes recovery and validation
  659.           data from log file {filename} created by the /AF option.
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670. OS2SCAN FOR OS/2 Version 9.16V105                         Page 12
  671.  
  672.  
  673.           /RG - This option removes validation and recovery data from a
  674.           file or files validated with the /AG option.  Using the /RG
  675.           switch against a drive removes the SCANVAL.VAL file.  This
  676.           option can not be used with the /AG option.
  677.  
  678.           /RV - This option removes validation codes from a file or files
  679.           validated with the /AV option.  Using the /RV switch against a
  680.           drive removes the SCANVAL.VAL file.  This option can not
  681.           be used with the /AV option.
  682.  
  683.           /SAVE - This option stores any listed options for subsequent
  684.           executions of OS2SCAN.  The options are stored by creating a
  685.           file named OS2SCAN.INI in the same directory as OS2SCAN.EXE.  For
  686.           example, the command:
  687.  
  688.                OS2SCAN /NOMEM /REPORT C:\OS2SCAN.LOG /NOPAUSE /SAVE
  689.  
  690.           saves the default options to /NOMEM, /REPORT C:\OS2SCAN.LOG and
  691.           /NOPAUSE and will cause OS2SCAN to use these options the next
  692.           time it is run.  If OS2SCAN is run with only the /SAVE switch,
  693.           the OS2SCAN.INI file is removed.  If you wish to use more than one
  694.           set of switches with OS2SCAN, use the @{filename} option
  695.           instead.
  696.  
  697.           /SHOWDATE - This option displays the time and date OS2SCAN was
  698.           last run.  No virus checking is performed.
  699.  
  700.           NOTE:  When run with /SHOWDATE, OS2SCAN only displays the last run
  701.                  date.  Viruses will *NOT* be checked for.
  702.  
  703.           /SUB - This option scans all subdirectories inside a
  704.           subdirectory.  Previously, OS2SCAN would only recursively check
  705.           subdirectories if a drive was scanned at the root level (e.g.,
  706.           C:).  Do not use the /SUB switch if you are scanning a drive
  707.           from the root level.
  708.  
  709.           @{filename} - This option allows the user to run OS2SCAN with
  710.           a configuration file listing the options and drives OS2SCAN is
  711.           to check.  Options need to be separated by a space, while drives
  712.           (disks, subdirectories, or files) need to be listed on separate
  713.           lines.  A sample file might look like this:
  714.  
  715.           /A /BELL /CV /REPORT C:\OS2SCAN\OS2SCAN.LOG
  716.           C:
  717.  
  718.           The first line contains the OS2SCAN options while other lines
  719.           list the names of disks, subdirectories, or files to scan.  The
  720.           file should be an ASCII text file.  
  721.  
  722.  
  723.  
  724.  
  725. OS2SCAN FOR OS/2 Version 9.16V105                         Page 13
  726.  
  727.  
  728.           EXIT CODES
  729.  
  730.                After OS2SCAN has finished running, it will set the
  731.           ERRORLEVEL.  ERRORLEVEL's are used in REXX scripts to pass on
  732.           the results of a program's actions.  The ERRORLEVEL's returned
  733.           by OS2SCAN are:
  734.  
  735.                ERRORLEVEL │ DESCRIPTION
  736.                ═══════════╪══════════════════════════════════════════════
  737.                    0      │ No viruses found
  738.                    1      │ One or more viruses found
  739.                    2      │ Abnormal termination (program error)
  740.                    3      │ One or more uncertified files found
  741.                    4      │ Ctrl-C or Ctrl-Break aborted scan
  742.  
  743.           If a user stops the scanning process, OS2SCAN will set the
  744.           ERRORLEVEL to 4.  If you wish to prevent users from stopping the
  745.           scanning process, then run OS2SCAN with the /NOBREAK option.
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780. OS2SCAN FOR OS/2 Version 9.16V105                         Page 14
  781.  
  782.  
  783.           EXAMPLES
  784.  
  785.                The following examples show different option settings:
  786.  
  787.                OS2SCAN C:
  788.                    To scan drive C:
  789.  
  790.                OS2SCAN A:R-HOOPER.EXE
  791.                    Scans file "R-HOOPER.EXE" on drive A:
  792.  
  793.                OS2SCAN A: /A /CV
  794.                    Scans all files and checks validation codes for unknown
  795.                    viruses on drive A:.
  796.  
  797.                OS2SCAN B: /D /A
  798.                    Scans all files on drive B: and prompt for erasure of
  799.                    any infected files, if found.
  800.  
  801.                OS2SCAN C: D: E: /AV
  802.                    Scan for viruses, add validation codes to files on
  803.                    drives C:, D:, and E:.
  804.  
  805.                OS2SCAN C: D: /A /FR
  806.                    Scan all files on drives C: and D: for viruses, and
  807.                    display all messages in French.
  808.  
  809.                OS2SCAN C: D: /E .WPM .COD
  810.                    Scans drives C: and D:, including .WPM and .COD files 
  811.  
  812.                OS2SCAN C: /EXT D:\SAMPLE_VIRUSSTRING.TXT /BELL
  813.                    To scan drive C: for known computer viruses and also
  814.                    for viruses added by the user via the external virus
  815.                    data file option, and beep whenever a virus is found.
  816.  
  817.                OS2SCAN C: /NOPAUSE /REPORT G:INFECTION_REPORT.DRIVEC
  818.                    To scan drive C: without stopping, and create a log
  819.                    file INFECTION_REPORT.DRIVEC on drive G:
  820.  
  821.                OS2SCAN E:\DOWNLOADS /SUB
  822.                    To scan all subdirectories under the directory
  823.                    DOWNLOADS on drive E:
  824.  
  825.                OS2SCAN C: D: E: /FAST /CERTIFY
  826.                    To perform a fast scan of drives C:, D:, and E: and
  827.                    check for any files that do not have validation codes.
  828.  
  829.                OS2SCAN @C:\SCANOPTN.LST
  830.                    To run OS2SCAN using configuration file SCANOPTN.LST
  831.                    located in the root directory of drive C:.
  832.  
  833.                OS2SCAN /AD
  834.                     Scan all hard drive partitions for viruses.
  835. OS2SCAN FOR OS/2 Version 9.16V105                         Page 15
  836.  
  837.  
  838.           VIRUS REMOVAL
  839.  
  840.                What do you do if a virus is found?  You can contact McAfee
  841.           Associates for help, their authorized agents, or use the CLEAN-UP
  842.           program.  CLEAN-UP is available for DOS (CLEAN.EXE) and OS/2
  843.           (OS2CLEAN.EXE).
  844.  
  845.                McAfee Associates can be reached by BBS, CompuServe, FAX,
  846.           Internet, or Telephone and there is no charge for support calls
  847.           to McAfee Associates (Authorized agents may charge normal McAfee
  848.           Associates consulting rates.).
  849.  
  850.                The CLEAN-UP universal virus disinfection program can
  851.           disinfect virtually all reported computer viruses.  It is
  852.           updated with each release of the OS2SCAN program to remove new
  853.           viruses.  CLEAN-UP can be downloaded from McAfee Associates'
  854.           BBS, the McAfee Virus Help Forum on CompuServe, and the
  855.           mcafee.COM and WSMR-SIMTEL20.Army.Mil sites on the Internet, or
  856.           from any of the agents' BBSes listed in the enclosed AGENTS.TXT
  857.           text file.
  858.  
  859.                It is strongly recommended that you get experienced help in
  860.           dealing with viruses if you are unfamiliar with anti-virus
  861.           software and methods.  This is especially true for 'critical'
  862.           viruses and partition table/boot sector infecting viruses as
  863.           improper removal of these viruses can result in the loss of
  864.           all data and the use of the infected disk(s).  
  865.  
  866.                Before removing a boot sector or partition table-infecting
  867.           virus, it is recommended that you cold boot the infected PC from
  868.           a clean DOS disk and backup any critical data.
  869.  
  870.                For qualified assistance in removing a virus, contact
  871.           McAfee Associates directly or any of the Authorized Agents in
  872.           your area.  Agents may charge McAfee Associates' normal consult
  873.           rates for their services.
  874.  
  875.                If you wish to remove a file-infecting virus manually, cold
  876.           boot the PC from a clean (virus-free) OS/2 boot diskette and run
  877.           OS2SCAN with the /A and /D switches to erase all infected files.
  878.           Any files removed in this manner can not be recovered.
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890. OS2SCAN FOR OS/2 Version 9.16V105                         Page 16
  891.  
  892.  
  893.           REGISTRATION
  894.  
  895.                A registration fee of US$35.00 is required for the use of
  896.           OS2SCAN by individual home users.  Registration entitles the
  897.           holder to unlimited free upgrades from McAfee Associates' BBS,
  898.           the Internet, and the McAfee Virus Help Forum on CompuServe as
  899.           well as technical support for one year.  When registering, a
  900.           diskette containing the latest version may be requested for an
  901.           additional US$9.00.  Only one diskette mailing will be made.
  902.  
  903.                Registration is for home users only and does not apply to
  904.           businesses, corporations, organizations, government agencies, or
  905.           schools, which must obtain a license for use.  Contact McAfee
  906.           Associates directly or an Authorized Agent for more information.
  907.  
  908.  
  909.           TECH SUPPORT
  910.  
  911.                For fast and accurate help, please have the following
  912.           information ready when you contact McAfee Associates:
  913.  
  914.                -    Program name and version number.
  915.  
  916.                -    Type and brand of computer, hard disk, plus any
  917.                     peripherals.
  918.  
  919.                -    Version of OS/2 (use the SYSLEVEL command to determine)
  920.                     plus any device drivers in use.
  921.  
  922.                -    Printouts of your AUTOEXEC.BAT and CONFIG.SYS files.
  923.  
  924.                -    The exact problem you are having.  Please be as
  925.                     specific as possible.  Having a printout of the
  926.                     screen and/or being at your computer will be helpful.
  927.  
  928.           McAfee Associates can be contacted by BBS, CompuServe, FAX, or
  929.           InterNet 24 hours a day, or by telephone at (408) 988-3832,
  930.           Monday through Friday, 7:00AM to 5:30PM Pacific Time.
  931.  
  932.                If you are overseas, you can contact a McAfee Associates
  933.           Authorized Agent.  Agents are located in over 50 countries
  934.           around the world and provide local sales and support for our
  935.           software.  Please refer to the AGENTS.TXT file for a complete
  936.           list of McAfee Associates Agents.
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945. OS2SCAN FOR OS/2 Version 9.16V105                         Page 17
  946.  
  947.  
  948.           OBTAINING THE LATEST VERSION OF McAFEE ASSOCIATES PROGRAMS
  949.  
  950.                McAfee Associates regularly updates the OS2SCAN series
  951.           of programs every 4 to 6 weeks to add new virus detectors,
  952.           new options, and fix reported bugs.  To distribute these new
  953.           versions, we run a multi-line BBS, CompuServe Forum, and
  954.           Internet node.
  955.  
  956.           BBS ACCESS
  957.  
  958.                Our 25-line BBS is accessible 24 hours a day, 365 days a
  959.           year, except for scheduled downtime and maintenance.  All lines
  960.           run US Robotics Courier HST Dual Standard ASL modems operating
  961.           from 1,200bps to 14,400bps with line settings of 8 data bits, no
  962.           parity, and one stop bit.
  963.  
  964.  
  965.           THE McAFEE VIRUS HELP FORUM ON COMPUSERVE
  966.  
  967.                We are now sponsoring the McAfee Virus Help Forum on
  968.           CompuServe.  To reach the McAfee Virus Help Forum type GO MCAFEE
  969.           at any CompuServe prompt.  A free introductory membership is
  970.           available.  For more information, please read the enclosed
  971.           COMPUSER.NOT file.
  972.  
  973.  
  974.           INTERNET ACCESS TO McAFEE ASSOCIATES SOFTWARE
  975.  
  976.                The latest versions of McAfee Associates' anti-viral
  977.           software is now available by anonymous ftp (file transfer
  978.           protocol) over the Internet from the site mcafee.COM.  If
  979.           your domain resolver does not support names, use the IP#
  980.           192.187.128.1.  Enter "anonymous" for your user I.D. and
  981.           your own email address for the password.  Programs are
  982.           located in the pub/antivirus directory.  If you have any
  983.           questions, please send email to support@mcafee.COM
  984.  
  985.                 McAfee Associates' DOS-based anti-viral software may also
  986.           be found at the Simtel20 archive site WSMR-SIMTEL20.Army.MIL
  987.           in the PD1:<MSDOS.VIRUS> directory and its associated
  988.           mirror sites WUARCHIVE.WUSTL.EDU (US), NIC.SWITCH.CH (Swiss),
  989.           NIC.FUNET.FI (Finland), SRC.DOC.IC.AC (UK), and
  990.           RANA.CC.DEAK.OZ.AU (Australia).
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000. OS2SCAN FOR OS/2 Version 9.16V105                         Page 18
  1001.  
  1002.  
  1003.           APPENDIX A:  Creating a Virus String File with the /EXT Option
  1004.  
  1005.           NOTE:  The /EXT option is intended for emergency and research
  1006.                  use only.  It is a temporary method for identifying new
  1007.                  viruses prior to the subsequent release of OS2SCAN.  A
  1008.                  thorough understanding of viruses and string-search
  1009.                  techniques is advised for using this option.  A string
  1010.                  length of 10 to 15 bytes is recommended.
  1011.  
  1012.                The External Virus Data file should be created with an
  1013.           editor or a word processor and saved as an ASCII text file.  Be
  1014.           sure each line ends with a Carriage Return/Line Feed pair.
  1015.  
  1016.  
  1017.                The virus string file uses the following format:
  1018.  
  1019.           #Comment about Virus_1
  1020.           "aabbccddeeff..." Virus_1_Name
  1021.           #Comment about Virus_2
  1022.           "gghhiijjkkll..." Virus_2_Name
  1023.                .
  1024.                .
  1025.           "uuvvwwxxyyzz..." Virus_n_Name
  1026.  
  1027.  
  1028.           Where aa, bb, cc, etc. are the hexadecimal bytes that you wish
  1029.           to scan for.  Each line in the file represents one virus.  The
  1030.           Virus Name for each virus is mandatory, and may be up to 25
  1031.           characters in length.  The double quotes (") are required at the
  1032.           beginning and end of each hexadecimal string.
  1033.                OS2SCAN will use the string file to search the Master Boot
  1034.           Record (partition table), Boot Sector, System files, all .COM
  1035.           and .EXE files, and overlay files with the extension .APP, .BIN,
  1036.           .COM, .EXE, .OV?, .PGM, .PIF, .PRG, .SWP, .SYS, and .XTP.
  1037.                Virus strings may contain wild cards.  The two wildcard
  1038.           options are:
  1039.  
  1040.           FIXED POSITION WILDCARD
  1041.                The question mark "?" may be used to represent a wildcard
  1042.           in a fixed position within the string.  For example, the string:
  1043.  
  1044.                              "E9 7C 00 10 ? 37 CB"
  1045.  
  1046.           would match "E9 7C 00 10 27 37 CB", "E9 7C 00 10 9C 37 CB", or
  1047.           any other similar string, regardless of the fifth byte.
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055. OS2SCAN FOR OS/2 Version 9.16V105                         Page 19
  1056.  
  1057.  
  1058.           RANGE WILDCARD
  1059.  
  1060.                The asterisk "*", followed by range number in parentheses
  1061.           "(" and ")" is used to represent a variable number of adjoining
  1062.           random bytes.  For example, the string:
  1063.  
  1064.                              "E9 7C *(4) 37 CB"
  1065.  
  1066.           would match "E9 7C 00 37 CB", "E9 7C 00 11 37 CB", and
  1067.           "E9 7C 00 11 22 37 CB".  The string "E9 7C 00 11 22 33 44 37 CB"
  1068.           would not match since the distance between 7C and 37 is greater
  1069.           than four bytes.  You may specify a range of up to 99 bytes.
  1070.           Up to 10 different wildcards of either kind may be used in one
  1071.           virus string.
  1072.  
  1073.  
  1074.           COMMENTS
  1075.                A pound sign "#" at the beginning of a line will denote a
  1076.           comment.  Use this for adding notes to the external virus data
  1077.           file.  For example:
  1078.  
  1079.                              #New .COM virus found in file FRITZ.EXE from
  1080.                              #Schneiderland on 01-22-91
  1081.                              "53 48 45 45 50" Fritz-1 [F-1]
  1082.  
  1083.           gives a description of the virus, name of the infected file,
  1084.           where and when it was found, etc.
  1085.  
  1086.  
  1087.           APPENDIX B:  Miscellaneous Application Notes
  1088.  
  1089.  
  1090.           OS2SCAN VALIDATION CODES
  1091.  
  1092.                If you have installed any new software or programs on your
  1093.           system, and are running OS2SCAN or VSHIELD for DOS with the /CF,
  1094.           /CG, or /CV validation codes options, you will need to reinstall
  1095.           validation codes to the new files with the /AF, /AG, or /AV
  1096.           add validation codes options of OS2SCAN.  In addition, the
  1097.           SCANVAL.VAL hidden file containing validation codes for the
  1098.           partition table, boot sector, COMMAND.COM, and system files may
  1099.           have to be replaced (unhide the file with the ATTRIB command
  1100.           and then delete it).
  1101.                The quickest way to update the validation codes is to
  1102.           remove all validation codes from the hard disk and then add them
  1103.           back by running OS2SCAN with the /RV and then the /AV options.
  1104.  
  1105.           NOTE: This applies to any new version of DOS, as well as any
  1106.                 programs which you install on your system.
  1107.  
  1108.  
  1109.  
  1110. OS2SCAN FOR OS/2 Version 9.16V105                                Page 20
  1111.  
  1112.  
  1113. IMPORTANT NOTICE - PLEASE READ!
  1114.  
  1115.           Due to the nature of anti-virus software, the slight chance
  1116.           exists that a virus may be reported in a file that is not
  1117.           infected by that virus.
  1118.  
  1119.           If you receive a report of a virus infection which you believe
  1120.           may be in error, please contact McAfee Associates by telephone
  1121.           at (408) 988-3832, by fax at (408) 970-9727, or upload the file
  1122.           to our BBS at (408) 988-4004 along with your name, address,
  1123.           daytime telephone number, and electronic mail address, if any.
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.